package com.ynet.middleground.riskmanage.bean.cangdan;

import com.ynet.core.common.BaseReqObj;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * @author syf
 * @description 查询仓单转让指令
 * @date 2022-11-29 17:42
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "查询仓单转让指令请求信息", description = "查询仓单转让指令请求信息")
public class QueryCangDanTransferReq extends BaseReqObj {

    private static final long serialVersionUID = 3628786470318185875L;
    @ApiModelProperty(value = "指令ID,多个指令id用英文逗号隔开 ", notes = "指令ID,多个指令id用英文逗号隔开 ", required = true)
    @NotBlank(message = "指令ID不能为空")
    private String command_ids;

    @ApiModelProperty(value = "在港货物ID", notes = "在港货物ID")
    private String cargokey;

    @ApiModelProperty(value = "来源渠道,0-日照港 2-烟台港", notes = "来源渠道,0-日照港 2-烟台港", required = true)
    @NotBlank(message = "来源渠道不能为空")
    private String channel_no;
}
